package com.chao.demo;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("hello")
public class Mycontroller {
    @RequestMapping("world")
    public String test(){
        System.out.println("ni hao");
        return "helloWorld";
    }
}
